package org.smoke.constants;

/**
 * @author hezhiyu on 14-9-23.
 */
public class ServerConstants {

    /** Client HTTP Request Param **/
    public static final String USER_NAME  = "name";
    public static final String USER_PASS  = "pass";
    public static final String USER_ID    = "uid";
    public static final String USER_EMAIL = "email";
    public static final String COLLEGE_ID = "cid";
    public static final String AVATAR     = "av";
    public static final String TYPE       = "type";
    public static final String CONTENT    = "content";
    public static final String PAGE       = "page";
    public static final String LEN        = "len";
    public static final String TID        = "tid";

    /** RESPONSE PREFIX **/
    public static final String PREFIX     = "@json:";

    /** USER_TOKEN **/
    public static final String USER_TOKEN = "token";

    public static final String COOKIE_NAME = "EC_COOKIE";

    /** STRING_SPLIT */
    public static final String SPLIT_SEPARATOR = "|";

    /** AES KEY for user-token */
    public static final String USER_TOKEN_KEY = "t-community-user-token";
}
